﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NumberFormats
{
    class NumberFormats
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Moi ban nhap vao 1 so: ");
            int number = int.Parse(Console.ReadLine());

            Console.WriteLine("\n{0,15} Decimal", number);
            Console.WriteLine("\n{0,15:X} Hexadecimal", number);
            Console.WriteLine("{0,15:P} - Percentage", number);
            Console.WriteLine("{0,15:E} - Scientific format\n", number);
            Console.WriteLine("{0,15:C} Phan tram", number);
        }
    }
}
